﻿<div class="container">
		<h1>Thông tin cá nhân</h1>
<?php     

echo form_open(current_url()); ?>
		<div id = "top_reserve">
			<div id = "opt_box">
			</div> <!-- end opt_box -->
			<div id = "add_new">
			<p>
        <?php echo form_submit( 'submit', 'Lưu'); ?>
		<?php 
		$data = array(
			'name' => 'button_cancel',
			'id' => 'button_cancel',
			'value' => 'true',
			'type' => 'button',
			'content' => 'Hủy',
			'onclick'=>"history.go(-1);return false;"
		);

		echo form_button($data);
		?>
</p>
			</div> <!-- end add_new -->
		</div> <!-- end top_reserve -->	
<div style="width:500px;margin:0 auto;">
<?php echo $custom_error; ?>
<?php echo form_hidden('EE_ID',$result->EE_ID) ?>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Personal_ID">Personal_ID<span class="required"><font color="red">*</font></span></label>                                
                <input id="Personal_ID" type="text" name="Personal_ID" value="<?php echo $result->Personal_ID ?>"  />
                <?php echo form_error('Personal_ID','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Password">Password<span class="required"><font color="red">*</font></span></label>                                
                <input id="Password" type="password" name="Password" value="<?php echo $result->Password ?>"  />
                <?php echo form_error('Password','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="DOB">DOB</label>                                
                <input id="DOB" type="text" name="DOB" value="<?php echo date("d/m/Y",$result->DOB) ?>"  />
                <?php echo form_error('DOB','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Phone_NO">Phone_NO</label>                                
                <input id="Phone_NO" type="text" name="Phone_NO" value="<?php echo $result->Phone_NO ?>"  />
                <?php echo form_error('Phone_NO','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Street">Street</label>                                
                <input id="Street" type="text" name="Street" value="<?php echo $result->Street ?>"  />
                <?php echo form_error('Street','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Position">Position</label>                                
                <input id="Position" type="text" name="Position" value="<?php echo $result->Position ?>"  />
                <?php echo form_error('Position','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Yrs_of_exp">Yrs_of_exp</label>                                
                <input id="Yrs_of_exp" type="text" name="Yrs_of_exp" value="<?php echo $result->Yrs_of_exp ?>"  />
                <?php echo form_error('Yrs_of_exp','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Education_Level">Education_Level</label>                                
                <input id="Education_Level" type="text" name="Education_Level" value="<?php echo $result->Education_Level ?>"  />
                <?php echo form_error('Education_Level','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Hired_Dt">Hired_Dt</label>                                
                <input id="Hired_Dt" type="text" name="Hired_Dt" value="<?php echo date("d/m/Y",$result->Hired_Dt) ?>"  />
                <?php echo form_error('Hired_Dt','<div>','</div>'); ?>
                </p></span>
<span style=" clear:both; float:left; padding:5px;">
                <p><label style="float: left; text-align: right; margin-right: 5px; width: 135px;" for="Term_Dt">Term_Dt</label>                                
                <input id="Term_Dt" type="text" name="Term_Dt" value="<?php echo date("d/m/Y",$result->Term_Dt) ?>"  />
                <?php echo form_error('Term_Dt','<div>','</div>'); ?>
                </p></span>

<?php echo form_close(); ?>
	</div>
</div>
